<template>
	<view>
		<button type="default" @click="delName">删除所有用户</button>
		<button type="default" @click="delWenjuan">删除所有问卷调查</button>
		<button type="default" @click="delJiaoshouWenjuan">删除教授问卷调查</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			delName(){
				uniCloud.callFunction({
					name:'delName'
				}).then((res)=>{
					console.log(res)
				})
			},
			delWenjuan(){
				uniCloud.callFunction({
					name:'delWenjuan'
				}).then((res)=>{
					console.log(res)
				})
			},
			delJiaoshouWenjuan(){
				uniCloud.callFunction({
					name:'delJiaoshouWenjuan'
				}).then((res)=>{
					console.log(res)
				})
			}
		}
	}
</script>

<style>

</style>
